﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Csla;
namespace EntGuayasSLA.BL.Listas.Criterias
{
    [Serializable]
    public class BitacoraCriteria : BusinessBase<BitacoraCriteria>
    {
        #region Business Methods
        public static readonly PropertyInfo<string> ExpedienteIdProperty = RegisterProperty<string>(c => c.ExpedienteId);
        public string ExpedienteId
        {
            get { return GetProperty(ExpedienteIdProperty); }
            set { SetProperty(ExpedienteIdProperty, value); }
        }

        public static readonly PropertyInfo<string> JefaturaProperty = RegisterProperty<string>(c => c.Jefatura);
        public string Jefatura
        {
            get { return GetProperty(JefaturaProperty); }
            set { SetProperty(JefaturaProperty, value); }
        }

        #endregion

        #region Factory Methods

        public static BitacoraCriteria NewBitacoraCriteria()
        {
            return DataPortal.Create<BitacoraCriteria>();
        }

        private BitacoraCriteria()
        { /* Require use of factory methods */ }

        #endregion


    }
   

}
